package com.bdmc.base.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.bdmc.common.core.domain.BaseEntity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 设施管理对象 base_facility
 *
 * @author bdmc
 * @date 2022-03-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("base_facility")
public class BaseFacility extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 设施id
     */
    @TableId(value = "facility_id")
    private Long facilityId;
    /**
     * 部门id
     */
    private Long deptId;
    /**
     * 设备id
     */
    private Long deviceId;
    /**
     * 设施名称
     */
    private String facilityName;
    /**
     * 设施编号
     */
    private String facilityNum;
    /**
     * 设施类型
     */
    private String facilityType;
    /**
     * 设施规格
     */
    private String facilitySpecifications;
    /**
     * 传感器告警的距离(cm)
     */
    private Integer alarmDistance;
    /**
     * 安装日期
     */
    private Date installDate;
    /**
     * 维护单位
     */
    private String maintainBy;
    /**
     * 纬度
     */
    private String lat;
    /**
     * 经度
     */
    private String lng;
    /**
     * 照片
     */
    private String photoPath;
    /**
     * 地址
     */
    private String address;

}
